﻿<navigation:Page 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           xmlns:Extensions="clr-namespace:Sakura.Silverlight.Extensions;assembly=SLExtension" x:Class="Galnote.IndexPage.Login"
           mc:Ignorable="d"
           d:DesignWidth="640" d:DesignHeight="720"
           Title="Login Page">
	<UserControl.Resources>
		<Storyboard x:Key="StartTemplate">
			<ColorAnimation To="#FF999999" Duration="0:0:0.5" Storyboard.TargetName="TB1" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)"/>
		</Storyboard>
		<Storyboard x:Key="EndTemplate">
			<ColorAnimation To="#FFD1D1D1" Duration="0:0:0.5" Storyboard.TargetName="TB1" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)"/>
		</Storyboard>
	</UserControl.Resources>

	<Grid x:Name="LayoutRoot">
			<Grid.RowDefinitions>
				<RowDefinition Height="0.618*"/>
				<RowDefinition Height="0.45*"/>
				<RowDefinition Height="0.55*"/>
			</Grid.RowDefinitions>
			<TextBlock Style="{StaticResource ResourceKey=GenericTitleTemplate}" VerticalAlignment="Bottom" Text="用户登录" Margin="0,0,0,20"/>
			<Border Grid.Row="1" Background="#FFF3F3F3" BorderBrush="#FFF3F3F3" BorderThickness="1" CornerRadius="6">
				<Border Style="{StaticResource ResourceKey=GenericBorderThicknessTemplate}">
					<Grid>
						<Grid.RowDefinitions>
							<RowDefinition Height="0.1*"/>
							<RowDefinition Height="0.5*"/>
							<RowDefinition Height="0.1*"/>
							<RowDefinition Height="0.5*"/>
							<RowDefinition Height="0.1*"/>
							<RowDefinition Height="0.5*"/>
							<RowDefinition Height="0.1*"/>
						</Grid.RowDefinitions>
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="0.1*"/>
							<ColumnDefinition Width="0.4*"/>
							<ColumnDefinition Width="1*"/>
							<ColumnDefinition Width="0.2*"/>
						</Grid.ColumnDefinitions>
						<TextBlock Grid.Column="1" Grid.Row="1" Style="{StaticResource ResourceKey=GenericTitleTemplate}" FontSize="12" VerticalAlignment="Center" Text="用户名："/>
						<TextBox Grid.Column="2" Grid.Row="1" TextWrapping="Wrap" VerticalAlignment="Center"/>
						<TextBlock Grid.Column="1" Grid.Row="3" Grid.RowSpan="2" Style="{StaticResource ResourceKey=GenericTitleTemplate}" FontSize="12" VerticalAlignment="Center" Text="密   码："/>
						<PasswordBox Grid.Column="2" Grid.Row="3" VerticalAlignment="Center"/>
						<Button Grid.Column="2" Grid.Row="5" HorizontalAlignment="Right" VerticalAlignment="Center" Width="75" Content="登录"/>
					<HyperlinkButton Grid.Column="1" Grid.Row="5" Grid.RowSpan="2" Grid.ColumnSpan="3" Height="25" Margin="0" VerticalAlignment="Bottom" Style="{StaticResource ResourceKey=LoginForgotTemplate}" NavigateUri="/IndexPage/Forgot.xaml" TargetName="UsedToFindPassword">
							<TextBlock x:Name="TB1" Text="忘记了密码吗？" MouseEnter="TB1_MouseEnter" MouseLeave="TB1_MouseLeave"/>
						</HyperlinkButton>
					</Grid>
				</Border>
			</Border>
		</Grid>

</navigation:Page>
